package com.haoyeteng.sxbd.modular.business.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.haoyeteng.sxbd.modular.business.model.News;
import com.baomidou.mybatisplus.service.IService;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 新闻表 服务类
 * </p>
 *
 * @author haoyeteng123
 * @since 2019-06-11
 */
public interface INewsService extends IService<News> {
    /**
     * 查询列表
     * @param page
     * @param categoryId
     * @param newsName
     * @return
     */
    List<Map<String, Object>> selectNewses(Page<News> page, Integer categoryId , String newsName);
    
    List<Map<String, Object>> selectWebNews(Page<News> page,Integer categoryId);
}
